package com.huawei.appgallery.forum.user.usercenter.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.huawei.appgallery.forum.base.card.ForumNode;
import com.huawei.appgallery.forum.user.usercenter.card.ForumCommentCard;
import o.cbb.d;

public class ForumCommentNode extends ForumNode {
    public ForumCommentNode(Context context) {
        super(context);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LinearLayout linearLayout = (LinearLayout) LayoutInflater.from(this.ॱ).inflate(ˎ(), null);
        ˊ(ˋ(linearLayout));
        viewGroup.addView(linearLayout);
        return true;
    }

    private ForumCommentCard ˋ(View view) {
        ForumCommentCard forumCommentCard = new ForumCommentCard(this.ॱ);
        forumCommentCard.ˏ(view);
        return forumCommentCard;
    }

    public int ˎ() {
        return d.ˎ;
    }
}
